<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-cn">
<head>
    <title>兴峰苗木</title>
    ﻿<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="format-detection" content="telephone=no">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="alternate icon" type="image/png" href="/xf/Public/images/favicon.png">
<link rel='icon' href='favicon.ico' type='/xf/Public/image/x-ico' />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link rel="stylesheet" href="/xf/Public/css/default.min.css?t=227" />
<!--[if (gte IE 9)|!(IE)]><!-->
<script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<!--<![endif]-->
<!--[if lte IE 8 ]>
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="/xf/Public/lib/amazeui/amazeui.ie8polyfill.min.js"></script>
<![endif]-->
<script type="text/javascript" src="/xf/Public/lib/handlebars/handlebars.min.js"></script>
<script type="text/javascript" src="/xf/Public/lib/iscroll/iscroll-probe.js"></script>
<script type="text/javascript" src="/xf/Public/lib/amazeui/amazeui.min.js"></script>
<script type="text/javascript" src="/xf/Public/lib/raty/jquery.raty.js"></script>
<script type="text/javascript" src="/xf/Public/js/main.min.js"></script>
<script type="text/javascript" src="/xf/Public/layer/layer.js"></script>
</head>
<body>
    ﻿<header class="hd">
    <div class="cml-g">
        <div class="hd-left">
            <div class="hd-logo">
                <a href="#">
                    <img src="/xf/Public/images/logo.png" />
                </a>
            </div>
            <div class="hd-company">
                <strong>临沂兴峰苗木</strong>
                <span>sdlyxfmm.com</span>
            </div>   
        </div>
        <div class="hd-right">
            <!-- <a href="#">ENGLISH</a><i class="font">&#xe62b;</i><a href="#">中文</a> -->
            <h3>联系电话：15216511229</h3>
        </div>
    </div>
</header>

<div class="hd-nav">
    <button class="am-show-sm-only am-collapsed" data-am-collapse="{target: '.hd-navul'}">&#xe68b;</button>
    <nav>
        <ul class="hd-navul am-collapse" style="height: 0px;">
            <li class="on"><a href="<?php echo U('Index/index');?>" class="on1">首页</a></li>
            <li><a href="<?php echo U('About/index');?>" class="on1">关于我们</a></li>
            <li><a href="<?php echo U('News/index');?>" class="on1">新闻资讯</a></li>
            <li><a href="<?php echo U('Product/index');?>" class="on1">产品展示</a></li>
            <li><a href="<?php echo U('Lore/index');?>" class="on1">苗木知识</a>
            <li><a href="<?php echo U('Contact/index');?>" class="on1">联系我们</a>
        </ul>
    </nav>
</div>
<div class="am-cf"></div>
<div class="am-slider am-slider-default" data-am-flexslider="{playAfterPaused: 8000}">
    <ul class="am-slides">
        <li><img src="/xf/Public/images/lunbo.jpg" /></li>
        <li><img src="/xf/Public/images/lunbo.jpg" /></li>
        <li><img src="/xf/Public/images/lunbo.jpg" /></li>
    </ul>
</div>
    <div class="cm-mian">
        <div class="cml-g">
            <div class="am-u-sm-3 am-u-md-3 am-u-lg-3">
                <div class="cm-type">
                    <ul>
                      <?php if(is_array($sort)): foreach($sort as $k=>$s): ?><li <?php if($s['id'] == $parentid): ?>class="on"<?php endif; ?> ><a href="<?php echo U('index',array('pr'=>$k));?>"><?php echo ($s['sort']); ?></a></li><?php endforeach; endif; ?>
                    </ul>
                </div>
            </div>
            <div class="am-u-sm-9 am-u-md-9 am-u-lg-9">
               <div class="cm-article">
                <?php echo ($p['product']); ?>
                   <div class="cm-content">
                       
                        <?php echo (htmlspecialchars_decode($p['content'])); ?>
                       
                   </div>
               </div>
            </div>
        </div>
    </div>
<footer class="footer">
    <div class="cml-g">
        <h1>
          <a href="#">法律申明</a>
          <a href="#">隐私安全</a>
          <a href="#">网站地图</a>
          <a href="#">联系我们</a>
        </h1>
        <h2>
            <span>版权所有 1999-2017</span>
            <span>中国中正集团有限公司</span>
            <span>鄂ICP备1300121000558</span>
        </h2>
        <h3>
            <span>地址:湖北省XX市XX街道XX路XX号</span>
            <span>邮编:4335100</span>
            <span>电话:0714-12345678</span>
        </h3>
    </div>
  </footer>
<script type="text/javascript">
	var on = $('.on1');
	for(var i = 0;i < on.length;i++){
		if(on.eq(i).attr('href') == window.location.pathname){
			on.eq(i).parent().addClass('on').siblings().removeClass('on');
		}
	}
</script>


</body>
</html>